.class Lcom/example/m6wmr/RunlistActivity$2;
.super Landroid/os/Handler;
.source "RunlistActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/RunlistActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/RunlistActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/RunlistActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    .line 93
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/RunlistActivity$2;)Lcom/example/m6wmr/RunlistActivity;
    .locals 1

    .prologue
    .line 93
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 11
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v10, 0x1

    .line 95
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 96
    iget v0, p1, Landroid/os/Message;->arg1:I

    sparse-switch v0, :sswitch_data_0

    .line 182
    :goto_0
    :sswitch_0
    return-void

    .line 100
    :sswitch_1
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # invokes: Lcom/example/m6wmr/RunlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$0(Lcom/example/m6wmr/RunlistActivity;)V

    .line 101
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "nologin"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 102
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    invoke-virtual {v0}, Lcom/example/m6wmr/RunlistActivity;->waitlogin()V

    goto :goto_0

    .line 104
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$1(Lcom/example/m6wmr/RunlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u63d0\u793a\u4fe1\u606f"

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 110
    :sswitch_2
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # invokes: Lcom/example/m6wmr/RunlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$0(Lcom/example/m6wmr/RunlistActivity;)V

    .line 111
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$1(Lcom/example/m6wmr/RunlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u4fe1\u606f\u83b7\u53d6\u7ed3\u679c"

    const-string v2, "\u8fd4\u56de\u7ed3\u679c\u4e3a\u7a7a"

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 116
    :sswitch_3
    const-string v0, "xxxxx"

    const-string v1, "\u52a0\u8f7d\u5b8c\u6bd5"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 117
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->page:I
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$2(Lcom/example/m6wmr/RunlistActivity;)I

    move-result v0

    if-ne v0, v10, :cond_1

    .line 118
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->orderls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$3(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 120
    :cond_1
    const/4 v8, 0x0

    .local v8, "i":I
    :goto_1
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->temporderls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$4(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v8, v0, :cond_2

    .line 124
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->page:I
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$2(Lcom/example/m6wmr/RunlistActivity;)I

    move-result v0

    if-ne v0, v10, :cond_3

    .line 125
    iget-object v9, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    new-instance v0, Ldata/RunOrderData;

    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    .line 126
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->orderls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/RunlistActivity;->access$3(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;

    move-result-object v2

    iget-object v3, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/RunlistActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    .line 127
    iget-object v4, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v4}, Lcom/example/m6wmr/RunlistActivity;->access$5(Lcom/example/m6wmr/RunlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    iget-object v5, v5, Lcom/example/m6wmr/RunlistActivity;->h:Landroid/os/Handler;

    iget-object v6, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->isEdite:Z
    invoke-static {v6}, Lcom/example/m6wmr/RunlistActivity;->access$6(Lcom/example/m6wmr/RunlistActivity;)Z

    move-result v6

    invoke-direct/range {v0 .. v6}, Ldata/RunOrderData;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;Landroid/os/Handler;Z)V

    .line 125
    invoke-static {v9, v0}, Lcom/example/m6wmr/RunlistActivity;->access$7(Lcom/example/m6wmr/RunlistActivity;Ldata/RunOrderData;)V

    .line 128
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$5(Lcom/example/m6wmr/RunlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->orderAdapter:Ldata/RunOrderData;
    invoke-static {v1}, Lcom/example/m6wmr/RunlistActivity;->access$8(Lcom/example/m6wmr/RunlistActivity;)Ldata/RunOrderData;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 129
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$5(Lcom/example/m6wmr/RunlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    invoke-virtual {v0, v10}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 133
    :goto_2
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # invokes: Lcom/example/m6wmr/RunlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$0(Lcom/example/m6wmr/RunlistActivity;)V

    .line 134
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$5(Lcom/example/m6wmr/RunlistActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    new-instance v1, Lcom/example/m6wmr/RunlistActivity$2$1;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/RunlistActivity$2$1;-><init>(Lcom/example/m6wmr/RunlistActivity$2;)V

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    goto/16 :goto_0

    .line 121
    :cond_2
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->temporderls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$4(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lbean/Runbean;

    .line 122
    .local v7, "cc":Lbean/Runbean;
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->orderls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$3(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 120
    add-int/lit8 v8, v8, 0x1

    goto :goto_1

    .line 131
    .end local v7    # "cc":Lbean/Runbean;
    :cond_3
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->orderAdapter:Ldata/RunOrderData;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$8(Lcom/example/m6wmr/RunlistActivity;)Ldata/RunOrderData;

    move-result-object v0

    invoke-virtual {v0}, Ldata/RunOrderData;->notifyDataSetChanged()V

    goto :goto_2

    .line 160
    .end local v8    # "i":I
    :sswitch_4
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    invoke-static {v0, v10}, Lcom/example/m6wmr/RunlistActivity;->access$9(Lcom/example/m6wmr/RunlistActivity;I)V

    .line 161
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # invokes: Lcom/example/m6wmr/RunlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$0(Lcom/example/m6wmr/RunlistActivity;)V

    .line 162
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    invoke-virtual {v0}, Lcom/example/m6wmr/RunlistActivity;->onRefresh()V

    goto/16 :goto_0

    .line 166
    :sswitch_5
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # invokes: Lcom/example/m6wmr/RunlistActivity;->onLoad()V
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$0(Lcom/example/m6wmr/RunlistActivity;)V

    goto/16 :goto_0

    .line 172
    :sswitch_6
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/RunlistActivity;->access$1(Lcom/example/m6wmr/RunlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity$2;->this$0:Lcom/example/m6wmr/RunlistActivity;

    # getter for: Lcom/example/m6wmr/RunlistActivity;->m:Lmyapp/MyApp;
    invoke-static {v2}, Lcom/example/m6wmr/RunlistActivity;->access$10(Lcom/example/m6wmr/RunlistActivity;)Lmyapp/MyApp;

    move-result-object v2

    invoke-virtual {v2}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 96
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0x3 -> :sswitch_3
        0x4 -> :sswitch_0
        0x5 -> :sswitch_5
        0xa -> :sswitch_0
        0x19 -> :sswitch_4
        0x64 -> :sswitch_0
        0x6f -> :sswitch_6
    .end sparse-switch
.end method
